var mongoose = require("mongoose");
var Schema = mongoose.Schema;
var ObjectId = Schema.Types.ObjectId;
var DownloadSchema = new Schema({
    name: String,
    dataLink: String,
    publish: {
        type: Date,
        default: Date.now
    }
});

var Download = mongoose.model('download', DownloadSchema, 'download');

module.exports = Download;